package com.javaGame.frame;

import javax.swing.*;

/**
 * 通关窗体
 */
public class SucessFrame extends JFrame {
    public SucessFrame(){
        this.setTitle("通关成功");

        this.setLayout(null);
        ImageLabel imgLabel = new ImageLabel(
                "image/win.jpg",0,0,1000,700,this);

        this.setSize(1000,700);
        this.setVisible(true);
        this.setDefaultCloseOperation(3);
        this.setLocationRelativeTo(null);
    }

    public static void main(String[] args) {
        new SucessFrame();
    }
}
